#ifndef WORKERTHREAD_H
#define WORKERTHREAD_H

#include <QThread>
#include <QMutex>
#include <QRecursiveMutex>
#include <QMutexLocker>

class WorkerThread : public QThread
{
public:
    WorkerThread();

    virtual void run() override;
public:
    static int taskAmount ;
    void task();

    QRecursiveMutex mutex;

    int count  = 0;
};

//  mutex;

#endif // WORKERTHREAD_H
